package com.gzsxy.esjy.service.base.dto.response;

import com.gzsxy.esjy.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author xiaolong
 * @version 1.0
 * @description: 订单商品返回实体
 * @date 2022/2/23 16:24
 */
@Data
@ApiModel
public class OrderProductRsp extends BaseEntity {

    @ApiModelProperty(value = "名称")
    private String title;

    @ApiModelProperty(value = "编号")
    private String productCode;

    @ApiModelProperty(value = "分类")
    private String categoryId;

    @ApiModelProperty(value = "原价")
    private Double oldPrice;

    @ApiModelProperty(value = "价格")
    private Double price;

    @ApiModelProperty(value = "数量")
    private Integer number;

    @ApiModelProperty(value = "简介")
    private String intro;

    @ApiModelProperty(value = "图片")
    private String imagePath;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "学校")
    private String school;

    @ApiModelProperty(value = "成色")
    private String conditions;

    @ApiModelProperty(value = "转手原因")
    private String reasonsFoSale;

    @ApiModelProperty(value = "浏览数量")
    private String viewCount;

    @ApiModelProperty(value = "满多少")
    private Integer fullScore;

    @ApiModelProperty(value = "返多少")
    private Integer donateScore;

    @ApiModelProperty(value = "推荐")
    private String marker;

    @ApiModelProperty(value = "发布状态 0未发布 1已发布")
    private Integer publishStatus;

    @ApiModelProperty(value = "审核状态 0未审核 1已通过 2不通过")
    private Integer verifyStatus;

    @ApiModelProperty(value = "版本")
    private Integer version;

    @ApiModelProperty(value = "销量")
    private Integer salesVolume;

    @ApiModelProperty(value = "分类列表")
    private List<CategoryRsp> CategoryList;

    @ApiModelProperty(value = "审核列表")
    private List<VerifyRsp> verifyList;

    @ApiModelProperty(value = "商品图片列表")
    private List<ProductPicRsp> productPic;

    @ApiModelProperty(value = "商品动态参数列表")
    private List<ProductAttrRsp> AttrManyList;

    @ApiModelProperty(value = "商品静态属性列表")
    private List<ProductAttrRsp> AttrOnlyList;

    @ApiModelProperty(value = "商品评价列表")
    private List<CommentRsp> commentList;

    @ApiModelProperty(value = "商品评价总数")
    private Long commentNumber;

    @ApiModelProperty(value = "好评评价总数")
    private Long praiseNumber;

    @ApiModelProperty(value = "中评评价总数")
    private Long mediumEvaluationNumber;

    @ApiModelProperty(value = "差评评价总数")
    private Long negativeCommentNumber;

    @ApiModelProperty("订单商品数")
    private Integer orderNumber;
}
